//
//  UIScrollView+Direction.h
//  AntFarms
//
//  Created by LF on 2018/1/12.
//  Copyright © 2018年 MuXi. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger ,LFDirection) {
    LFDirectionNon=0,
    LFDirectionUp,//向上滚动
    LFDirectionDown,//向下滚动
    
};
@interface UIScrollView (Direction)
@property (nonatomic, assign)LFDirection direction;
@property (nonatomic, assign) BOOL enableDirection;
@end
